﻿using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using iHouse.Resource;

namespace iHouse.Web.Infrastructure
{
    public class NoteFormView
    {
        public int CategoryID { get; set; }
        public string Description { get; set; }

        [Required(ErrorMessageResourceName = "ExceptionNoteWithTitle", ErrorMessageResourceType = (typeof(Resources)))]
        [StringLength(200)]
        public string Title { get; set; }

        public string Reference { get; set; }
        public SelectList Categories { get; set; }
    }
}
